//
//  ReportDeviceAlarmListModel.m
//  efairy
//
//  Created by 李锋 on 2019/3/14.
//  Copyright © 2019年 East. All rights reserved.
//

#import "ReportDeviceAlarmModel.h"


@implementation DeviceStatisticsModel
- (void)encodeWithCoder:(NSCoder *)aCoder { [self yy_modelEncodeWithCoder:aCoder]; }
- (instancetype)initWithCoder:(NSCoder *)aDecoder { self = [super init]; return [self yy_modelInitWithCoder:aDecoder]; }
@end

@implementation ReportDeviceListModel
//必需实现“encodeWithCoder”和“initWithCoder”函数才能解析，如果有嵌套对象还需要实现“modelContainerPropertyGenericClass”函数
- (void)encodeWithCoder:(NSCoder *)aCoder { [self yy_modelEncodeWithCoder:aCoder]; }
- (instancetype)initWithCoder:(NSCoder *)aDecoder { self = [super init]; return [self yy_modelInitWithCoder:aDecoder]; }
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass {
    return @{@"device_statistics_list"  : [DeviceStatisticsModel class]};
}

@end

@implementation ReportDeviceModel
//必需实现“encodeWithCoder”和“initWithCoder”函数才能解析，如果有嵌套对象还需要实现“modelContainerPropertyGenericClass”函数
- (void)encodeWithCoder:(NSCoder *)aCoder { [self yy_modelEncodeWithCoder:aCoder]; }
- (instancetype)initWithCoder:(NSCoder *)aDecoder { self = [super init]; return [self yy_modelInitWithCoder:aDecoder]; }
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass {
    return @{@"efairyproject_device_statistics"  : [ReportDeviceListModel class]};
}
@end

@implementation ReportDeviceAlarmModel
//必需实现“encodeWithCoder”和“initWithCoder”函数才能解析，如果有嵌套对象还需要实现“modelContainerPropertyGenericClass”函数
- (void)encodeWithCoder:(NSCoder *)aCoder { [self yy_modelEncodeWithCoder:aCoder]; }
- (instancetype)initWithCoder:(NSCoder *)aDecoder { self = [super init]; return [self yy_modelInitWithCoder:aDecoder]; }
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass {
    return @{@"efairyreport_project_list"  : [ReportDeviceModel class]};
}
@end
